package com.xu.mode.factory;

/**
 * 工厂模式计算基础类
 */
public class Calculation {
    //创建两个变量一个加减的两个值
    public double numberA;
    public double numberB;

    public double getNumberA() {
        return numberA;
    }

    public void setNumberA(double numberA) {
        this.numberA = numberA;
    }

    public double getNumberB() {
        return numberB;
    }

    public void setNumberB(double numberB) {
        this.numberB = numberB;
    }

    public double getResuit() {
        double resuit = 0;
        return resuit;
    }

}
